package com.jxdinfo.hussar.example.common.config;

import lombok.Data;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.Configuration;

import java.util.List;
import java.util.Map;

@Data
@Configuration
@ConfigurationProperties("my")
public class PropertyConfig {

    //FTPIP
    @Value("${my.ftp.server}")
    private String server;

    //FTP端口号
    @Value("${my.ftp.port}")
    private int port;

    //FTP用户名
    @Value("${my.ftp.username}")
    private String username;

    //
    @Value("${my.ftp.password}")
    private String password;


    @Value("${my.access.charSet}")
    private String charSet;


    @Value("${my.access.username}")
    private String name;

    @Value("${my.access.password}")
    private String word;

    //FTPIP
    @Value("${my.U9C.ip}")
    private String ip;

    //FTPIP
    @Value("${my.U9C.userCode}")
    private String userCode;

    private Map<String , List<String>> mymap;

    private String[] AccessName;

}
